<template>
  <div class="introduce">
    <span class="title">商品介绍</span>
    <div class="img_div" v-html="detailHtml">{{detailHtml}}</div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      detailHtml: null,
    };
  },
  methods: {
    setList(data) {
      if (data != null) {
        this.detailHtml = data.detailHtml;
      }
    },
  },
};
</script>
<style lang="less" scoped>
.introduce {
  background: white;
  padding: 20px;
  margin-top: 10px;
  border-radius: 10px;
  width: 100%;
}
.introduce .title {
  font-size: 14px;
  color: #000;
}
.introduce .img_div {
  width: 100%;
}
.introduce .img_div img {
  width: 100%;
  height: 100%;
}
</style>
<style  scoped>
.img_div>>>.wscnph {
  width: 100%;
}
</style>